#pragma once

#include <set>
#include <string>
#include <sstream>

using namespace std;

class IdRegister {
    friend class IdManager;
    private:
        string front;
        int length;
        set<string> idSet;
        IdRegister(const string &_front,const int _length);
        string toString();
        static IdRegister* strToIdRegister(istringstream &iss);
};